package com.component.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.component.domain.Content;

import java.util.List;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/6/6 1:16
 * @since JDK 1.8
 */
public interface ContentService extends IService<Content> {

    Content getContentByNid(Integer nid);

    List<Content> sumContent(String channelId);

    JSONArray getModel(Content content);

    JSONArray getArray(Content content);
}
